{% load analytics %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<!-- meta -->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Language" content="en-us" />

	<meta name="author" content="Kovalev Dmitriy" />
	<meta name="copyright" content="Copyright 2005, Kovalev Dmitriy" />
	<meta name="keywords" content="{% block keywords %} video, codecs, filters, compression, lossless compression, hdtv {% endblock %}" />
	<meta name="description" content="{% block description %}{% endblock %}" />

	<!-- title -->
	<title>VideoSoft.org - {% block title %}Video processing{% endblock %}</title>

	<!-- icon -->
	<link rel="icon" href="/res/img/favicon.ico" type="image/x-icon" />
	
	<!-- styles -->
	<link rel="stylesheet" href="/res/yui/reset-fonts-grids/reset-fonts-grids.css" type="text/css"/>
	<link rel="stylesheet" href="/res/css/main.css" type="text/css"/>
	<link rel="stylesheet" href="/res/css/menu.css" type="text/css"/>

	<!-- rss -->
	<link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/latest/"/>
	
	<!-- scripts -->	
	<script type="text/javascript" src="/res/js/niftycube.js"></script>
	<script type="text/javascript" src="/res/css/niftyCorners.css"></script>

	<style type="text/css">
		#yui-main .yui-b {
			padding-right: 10px;
			border-right: 1px dotted #ADADAD;
		}

		#bd {
			padding: 10px;
			border-left: 2px solid #000000;
			border-right: 2px solid #000000;
		}

		#title { 
			padding-bottom: 5px; 
			border-bottom: 1px dotted #ADADAD; 
		}

		body { background: #FFFFFF; margin: 5px 0px 5px 0px; }		

		.bw { color: #FFFFFF; background: #000000; }
		.bw_5 { color: #FFFFFF; background: #000000; height: 5px; }
		.bw_10 { color: #FFFFFF; background: #000000; height: 10px; }

		.c { margin: 0px 9px 0px 9px; height:9px; }
		.tl { background: url('/res/img/tl.gif') no-repeat top left; }
		.tr { background: url('/res/img/tr.gif') no-repeat top right; }
		.bl { background: url('/res/img/bl.gif') no-repeat bottom left; }
		.br { background: url('/res/img/br.gif') no-repeat bottom right; }
	</style>
	
	<script type="text/javascript">
		window.onload=function(){
			Nifty("div.column h3","top");
			/*Nifty("div.column div","bottom same-height");*/
		}
	</script>

	{% block head %}{% endblock %}
</head>
	
<body id="{% block section %}{% endblock %}">
	<div id="doc" class="yui-t4">
		<div id="hd">
			<div class="tl">
				<div class="tr">
					<div class="c bw"/>
				</div>
			</div>

			<div class="bw_10"></div>

			<div class="bw">
				<img class="float_left" src="/res/img/logo.gif" alt="VideoSoft.org"/>
				<p class="float_right" style="margin: 10px; margin-left: 30px; width: 200px;">
					{% block header %}
						<strong>Video processing: codecs, filters, HDTV and etc.</strong>
					{% endblock %}
				</p>
				<div class="float_clear"></div>
			</div>

			{% include 'menu.html' %}

			<div class="bw_5"></div>
		</div>

		<div id="bd">
			<div id="yui-main">
				<div class="yui-b">
					<div id="title">
						<img class="float_left" src="{% block page_icon %}/res/img/icons/main.gif{% endblock %}" alt=""/>
						<h1 style="display:inline; margin-left: 10px"> {% block page_title %}VideoSoft.org{% endblock %}</h1>
						<div class="float_clear"></div>
					</div>
					{% block body %}{% endblock %}
				</div>
			</div>

			<div class="yui-b">
				{% block navigation %}
					<div style="text-align:center">
						{% if not debug %}
							{% include 'google/google_left.html' %}
						{% endif %}

						<br/>

						{% include 'banners/django.html' %}
					</div>
				{% endblock %}
			</div>
		</div>

		<div id="ft">
			{% block footer %}
				<div class="bw_5"></div>
				<div class="bw" style="text-align: center;">Copyright &copy; 2005 &ndash; {% now "Y" %}</div>

				<div class="bl">
					<div class="br">
						<div class="c bw"/>
					</div>
				</div>
			{% endblock %}
		</div>
	</div>

	{% if not debug %}
		{% analytics_tracker "UA-234187-1" %}
	{% endif %}
</body>

</html>
